package com.stress.testing.plugin.es.strategy;

import org.elasticsearch.action.termvectors.TermVectorsRequest;

public class TermVectorsRequestIndexRenameStrategy extends AbstractRequestIndexRenameStrategy {
    @Override
    public void renameIndex(Object arg) {
        TermVectorsRequest request = (TermVectorsRequest) arg;
        request.index(internalRenameIndex(request.index()));
    }
}